package cn.suhaoblog.faq.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import cn.suhaoblog.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author su-hao
 * @since 2024-03-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "InterviewFaq对象", description = "")
public class InterviewFaq extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @TableField(update = "%s+1", strategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value = "问题编号")
    private Integer faqNo;

    @ApiModelProperty(value = "问题描述")
    private String shortDescription;

    @ApiModelProperty(value = "答案")
    private String answer;

    @ApiModelProperty(value = "分类id")
    private Integer classifyId;

    @ApiModelProperty(value = "创建时间")
    private Date createAt;

    private Date updateTime;

    private Integer isDel;


}
